package simorg;

import java.sql.SQLException;

class SimOrg {
	public static void main(final String args[]) {

		// do the import (takes zero time if all tables already exist)
		final ExcelInterface excelInterface = new ExcelInterface("SimOrg.xls");
		;

		try {
			excelInterface.doImport();
		} catch (final SQLException sqlex) {
			sqlex.printStackTrace();
		}

		final Agent agent = new Agent();

		// run the agent
		try {
			agent.run();
		} catch (final RuntimeException rtex) {
			rtex.printStackTrace();
		}
	}
}